package com.wude.bean;

/**
 * 描述：流量列表Bean
 * 时间: 2017-09-04 9:37
 */
public class TrafficListBean {
    /**
     * status : 1
     * return_code : 1
     * data : [{"id":"139","is_new_user":"0","is_time":"0","how_flow":"500","get_time_end":"1504800000","get_time_beg":"1504800000","use_time_beg":"1504281600","use_time_end":"1504713600","need_point":"50","flow_source":"qwqq","flow_range":"5","flow_name":"江苏省内流量"},{"id":"140","is_new_user":"0","is_time":"1","how_flow":"500","get_time_end":"1504281600","get_time_beg":"1504281600","use_time_beg":"1504281600","use_time_end":"1504627200","need_point":"20","flow_source":"wew","flow_range":"2","flow_name":"移动全国流量"}]
     */

    private int status;
    private String return_code;


    private int count;
    private TrafficData data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public TrafficData getData() {
        return data;
    }

    public void setData(TrafficData data) {
        this.data = data;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public static class DataBean {
        private String flow;
        private String status;//1-已领取；0-已失效；2-未领取
        private String create_time;
        private int count;
        private boolean hasMore = true;

        public boolean isHasMore() {
            return hasMore;
        }

        public void setHasMore(boolean hasMore) {
            this.hasMore = hasMore;
        }

        public String getFlow() {
            return flow;
        }

        public void setFlow(String flow) {
            this.flow = flow;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }
    }
}
